Skip to content

Conversation

@tmandys
Copy link

@tmandys tmandys commented Jan 31, 2025

The bug is at least since 2.5.30 and persists in 2.5.31/head for Sony A7 III (and likely II AFAIR). Issue appears when Live preview is used together with capture image. The first capture passes but next one causes camera freeze/reboot. Bug is in event order evaluation which libgphoto is not familiar with. Note that surprisingly Sony A7 rIV which does not work with 2.5.30 (because of another issue fixed in main branch), does work without this patch in head. So event issue is likely only for III&II models.

Related issue was reported in #981

… race

in an event and 2nd capture freezes camera
@msmeissn msmeissn self-requested a review January 31, 2025 10:42
@msmeissn
Copy link
Contributor

msmeissn commented Feb 2, 2025

i dont really like hardcoding camera names there. is there any other way todetect this

@tmandys
Copy link
Author

tmandys commented Feb 3, 2025

How do you mean to detect it without retesting all Sony models with fix to prove that it won't brake current functionality ? Even I could likely detect somehow what unexpected undocumented (?) event causes this issue (price is xxx mandays). But it does not mean that another model will have equal algorithm. I see issue in A7 II & III only. A7 IV does not suffer with it and works with/without bugfix. To make 100% fix I would need reverse engineer/decompile official Sony software if there is not also hardcoded model which is totally beyond my volunteer's budget. I made fix which made gphoto2 usable with A7 II/III to capture image with live preview and we use it for massive digitalization. Without bugfix gphoto2 is useless for it. That's it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants